package magicbattle.game.character.effect;

import magicbattle.game.Player;
import magicbattle.game.character.Target;
import magicbattle.game.character.TargetType;

public abstract class Effect implements Cloneable {
	public enum EffectType {
		INSTANTDAMAGE, INSTANTHEAL, BUFF, DEBUFF;
	}
	
	protected EffectType effectType;
	protected TargetType targetType;
	
	public abstract void action(Player currentPlayer, Player targetPlayer);
	
	public Object clone() throws CloneNotSupportedException {
		return super.clone();
	}
	
	public EffectType getEffectType() {
		return effectType;
	}

	public TargetType getTargetType() {
		return targetType;
	}
}
